package com.ym.b2b.complaint.service;

import com.ym.b2b.commons.exception.BaseException;
import com.ym.b2b.complaint.sqlbean.EmBComplaint;
import com.zc.commons.base.Page;
import com.zc.commons.base.Result;

public interface EmBComplaintService {

    Result searchPageEmBComplaint(EmBComplaint emBComplaint, Page<EmBComplaint> page);

    int deleteEmBComplaint(Long complaintId);

    int deleteMultipleEmBComplaint(String complaintIdList);

    Result updateEmBComplaint(EmBComplaint emBComplaint);

    Result updateEmBComplaintBat(EmBComplaint emBComplaint);

    EmBComplaint searchEmBComplaint(EmBComplaint emBComplaint);

    /**
     * @Title: addEmBComplaint
     * @Description: 新增投诉建议
     */
    Result addEmBComplaint(EmBComplaint emBComplaint) throws BaseException;

}
